Home > biomechZoo > Toolbox > Support Functions > findfield.m

findfield

PURPOSE ^

[r,chn] = FINDFIELD(st,evt) searches through all subbranches in a structured array

SYNOPSIS ^

function [r,chn] = findfield(data,evt)

DESCRIPTION ^

 [r,chn] = FINDFIELD(st,evt) searches through all subbranches in a structured array

 ARGUMENTS
  data        ...  structured array
  evt       ...  name of event in structured array as string

 RETURNS
  r         ...  value of subbranch evt
  ch        ...   name of branch containing evt

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005